Systems and methods for notifying particular devices based on estimated distance

ABSTRACT

This disclosure relates to notification systems and methods for providing a notification of detected vaping, smoking, or potential bullying to a user device that is estimated to be nearest to a particular location. In aspects of the present disclosure, a notification system includes at least one sensor configured to sense measurements indicative of at least one of vaping, potential bullying, or smoking, a wireless device passive monitor, a processor, and a memory having stored thereon instructions. The instructions, when executed by the processor, cause the notification system to detect an occurrence of vaping, potential bullying, or smoking based on the sensed measurements, estimate which user device from a predetermined list of user devices is a nearest user device to the wireless device passive monitor, and provide a notification to the estimated nearest user device regarding the detected occurrence of vaping, potential bullying, or smoking.

TECHNICAL FIELD

The present disclosure relates to a notification system and method for notifying the detection of vaping, smoking, or potential bullying. More particularly, the present disclosure relates to system and methods for selecting particular user devices to notify.

BACKGROUND

Vaping, smoking, and bullying are serious public health and societal issues, especially in areas of academic and business environments due to the hazardous and harmful impact on the health and mental being of not only the actors but on other people. Vaping, smoking, or bullying is also rampant among young aged people and causes many health, mental, and environmental issues. Generally, vaping and smoking have similar effects on people in close proximity to the vapers or smokers. Thus, by identifying vaping or smoking activities in areas, people can be supervised appropriately so that harmful and hazardous effects can be prevented.

Various methods and systems have been developed to identify or deter bullying, smoking, and vaping in areas, such as classrooms, restrooms, locker rooms, storage rooms, hospital rooms, or other kinds of areas in schools, hospitals, warehouses, cafeterias, offices, financial institutes, government buildings, or any other business facility or building. For example, potential bullying, smoking, and vaping can be identified by vape detectors and camera surveillance. However, the latter has not been used in private areas such as restrooms, locker rooms, shower rooms, or hospital rooms because of privacy laws and policies.

Further, when potential bullying, smoking, or vaping is detected, notification systems are needed to notify interested personnel or individuals while not making people related to the potential bullying, smoking, or vaping aware that personnel or individuals have been notified. Thus, developments in efficiently and quickly notifying the occurrence of potential or actual bullying, smoking, or vaping are needed.

SUMMARY

This disclosure relates to notification systems and methods for providing a notification of detected vaping, smoking, or potential bullying to a user device that is estimated to be nearest. In accordance with aspects of the present disclosure, a notification system includes at least one sensor configured to sense measurements indicative of at least one of vaping, potential bullying, or smoking, a wireless device passive monitor, a processor, and a memory having stored thereon instructions. The instructions, when executed by the processor, cause the notification system to detect an occurrence of vaping, potential bullying, or smoking based on the sensed measurements, estimate which user device from a predetermined list of user devices is a nearest user device to the wireless device passive monitor, and provide a notification to the estimated nearest user device regarding the detected occurrence of vaping, potential bullying, or smoking.

In various embodiments of the notification system, in estimating which user device is the nearest user device, the instructions, when executed by the processor, cause the notification system to: for each user device that is within a wireless range of the wireless device passive monitor and which is in the predetermined list of user devices, estimate a distance to the wireless device passive monitor based on a wireless signal characteristic of the user device; and select a user device corresponding to a smallest distance among the distances as the nearest user device.

In various embodiments of the notification system, in estimating which user device is the nearest user device, the instructions, when executed by the processor, cause the notification system to listen, by the wireless device passive monitor, channels of a wireless network to detect a unique identifier (ID) of user devices within a wireless range of the wireless device passive monitor; and identify the detected unique ID which is in the predetermined list of user devices.

In various embodiments of the notification system, the wireless signal characteristic includes a source address, a destination address, upper-layer information, a signal strength, and/or a signal noise level for the user device.

In various embodiments of the notification system, the wireless device passive monitor includes a Wi-Fi® passive monitor and/or a Bluetooth® passive monitor.

In various embodiments of the notification system, the at least one sensor is configured to sense air quality, sound, motion, and/or temperature.

In various embodiments of the notification system, the wireless device passive monitor is configured to passively monitor at least one of a Wi-Fi® network or a Bluetooth® network.

In various embodiments of the notification system, the notification includes a location of the at least one sensor and/or a time of the detection of the detected occurrence.

In various embodiments of the notification system, the notification system further includes a remote server separate from the at least one sensor, where the remote server includes the processor and the memory. In various embodiments of the notification system, the at least one sensor is configured to communicate the sensed measurements to the remote server.

In accordance with aspects of the present disclosure, a computer-implemented method includes: sensing, by at least one sensor, measurements indicative of at least one of vaping, potential bullying, or smoking; detecting an occurrence of at least one of vaping, potential bullying, or smoking based on the sensed measurements; estimating which user device from a predetermined list of user devices is a nearest user device to a wireless device passive monitor; and providing a notification to the estimated nearest user device regarding the detected occurrence of vaping, potential bullying, and/or smoking.

In various embodiments of the computer-implemented method, estimating which user device is the nearest user device includes: for each user device that is within a wireless range of the wireless device passive monitor and which is in the predetermined list of user devices, estimating a distance to the wireless device passive monitor based on a wireless signal characteristic of the user device; and selecting a user device corresponding to a smallest distance among the distances as the nearest user device.

In various embodiments of the computer-implemented method, estimating which user device is the nearest user device includes: listening to, by the wireless device passive monitor, channels of a wireless network to detect a unique ID of user devices within the wireless range of the wireless device passive monitor; and identifying the detected unique ID which is in the predetermined list of user devices.

In various embodiments of the computer-implemented method, the wireless signal characteristic includes at least one of a signal strength or a signal noise level for the user device.

In various embodiments of the computer-implemented method, the wireless device passive monitor includes at least one of a Wi-Fi® passive monitor or a Bluetooth® passive monitor.

In various embodiments of the computer-implemented method, the at least one sensor is configured to sense air quality, sound, motion, and/or temperature.

In various embodiments of the computer-implemented method, the wireless device passive monitor is configured to passively monitor a Wi-Fi® network and/or a Bluetooth® network.

In various embodiments of the computer-implemented method, the notification includes a location of the at least one sensor and/or a time of the detection of the detected occurrence.

In various embodiments of the computer-implemented method, the method includes communicating, by the at least one sensor, the sensed measurements to a remote server separate from the at least one sensor, where the remote server performs the detecting, the estimating, and the providing.

In accordance with aspects of the present disclosure, a non-transitory computer-readable medium storing instructions which, when executed by a processor, cause the processor to perform a method. The method includes accessing sensed measurements indicative of at least one of vaping, potential bullying, or smoking; detecting an occurrence of at least one of vaping, potential bullying, or smoking based on the sensed measurements; estimating which user device from a predetermined list of user devices is a nearest user device to a wireless device passive monitor; and providing a notification to the estimated nearest user device regarding the detected occurrence of vaping, potential bullying, or smoking.

Further details and aspects of exemplary embodiments of the present disclosure are described in more detail below with reference to the appended figures.

BRIEF DESCRIPTION OF THE DRAWINGS

A better understanding of the features and advantages of the disclosed technology will be obtained by reference to the following detailed description that sets forth illustrative embodiments, in which the principles of the technology are utilized, and the accompanying drawings of which:

FIG. 1 is a block diagram of a notification system for notifying detection of vaping, smoking, or potential bullying, in accordance with embodiments of the present disclosure;

FIG. 2 is a functional block diagram of the detection sensor of FIG. 1 in accordance with embodiments of the present disclosure;

FIG. 3 is a conceptual diagram of the system of FIG. 1 in use, in accordance with embodiments of the present disclosure;

FIG. 4 is a functional block diagram of a computing device in accordance with embodiments of the present disclosure;

FIG. 5 is a flowchart showing a method for a location-based alert in accordance with embodiments of the present disclosure;

FIG. 6 is a flowchart showing a method for a location-based alert in accordance with embodiments of the present disclosure; and

FIG. 7 is a flowchart showing a method for a location-based alert in accordance with embodiments of the present disclosure.

DETAILED DESCRIPTION

The present disclosure relates to systems and methods for notifying detection of vaping, smoking and potential bullying. When vaping, smoking, and potential bullying are identified, warnings or alerts are transmitted to registered users or clients without providing any indication of warnings to persons who are vaping, smoking, or bullying at the site. In this way, the persons who are bullying, smoking, or vaping can be apprehended, identified, or properly reported and supervised. Further, persons near the vaping or potential bullying can be effectively prevented from potential or further harm.

Although the present disclosure will be described in terms of specific embodiments, it will be readily apparent to those skilled in this art that various modifications, rearrangements, and substitutions may be made without departing from the spirit of the present disclosure. The scope of the present disclosure is defined by the claims appended hereto.

For purposes of promoting an understanding of the principles of the present disclosure, reference will now be made to exemplary embodiments illustrated in the drawings, and specific language will be used to describe the same. It will nevertheless be understood that no limitation of the scope of the present disclosure is thereby intended. Any alterations and further modifications of the inventive features illustrated herein, and any additional applications of the principles of the present disclosure as illustrated herein, which would occur to one skilled in the relevant art and having possession of this disclosure, are to be considered within the scope of the present disclosure.

FIG. 1 illustrates a block diagram showing a notification system 100 according to embodiments of the present disclosure. The notification system 100 includes a plurality of detection sensors 110 which detect air quality related to vaping, sound and/or motion. The notification system 100 further includes a control server 120 for identifying whether or not vaping or potential bullying is occurring at the site by accessing a database 130 storing base data. The base data includes historical data of detected sounds and air quality at each site when there was no potential bullying or vaping occurring at the site. This historical data may be used for a learning mode. The learning mode is a mode where the system 100 uses data measured by the sensors 110 (and/or historical data) to create a baseline dataset for determining what a site's detected air quality, sound, and/or motion is when there is no vaping, smoking, or bullying.

The detected air quality may be analyzed by the detection sensors 110 or the detected air quality may be transmitted to the control server 120 together with the detected sound. The control server 120 may analyze the detected sound and air quality by comparing one or both of these parameters with the base data stored at the database 130, and determine whether potential bullying and/or vaping is occurring at the various sites being monitored by the detection sensors 110.

The base data stored at the database 130 may be location-dependent, meaning that the base data for one location is different from the base data for another site or location. The location-dependent base data may be sound data related to identifying potential bullying. For example, in a bathroom, there are flushing sounds, conversations, cleaning sounds, etc. Based on the size of the bathroom and the installation location of the detection sensor 110, the detection sensor 110 may detect sounds differently from other detection sensors 110 installed at the bathroom, or at a bedroom near the bathroom (e.g., a hotel room). Thus, the location-dependent base data may be different based on the installation locations even within the same site (e.g., hotel).

Now referring to FIG. 2, a functional block diagram of the detection sensor 110 of FIG. 1 is shown in accordance with embodiments of the present disclosure. The detection sensor 110 may include a sound sensor 210, an air quality sensor 220, a motion sensor 222, a network interface 230, a power unit 240, and a controller 250. The sound sensor 210 may be used for detecting sound and the air quality sensor 220 may be used for detecting air quality. The motion sensor may be used for detecting motion. In particular, the sound sensor 210 detects sound levels (e.g., decibel (dB)) in the environment.

As described above, the threshold value for identifying potential bullying depends on the installation location at the site and based on historical data obtained during the learning mode. Since the detection sensor 110 may cover a limited area, several detection sensors 110 may be installed at one space when the area of the space is greater than the area each detection sensor 110 can cover. For example, the detection sensor 110 may cover an area of 10 by 10 square feet. In this situation, each detection sensor 110 may have a different threshold value for identifying potential bullying due to different installation locations at the same location, e.g., a large locker room with lockers, showers and bathroom stalls. The air quality sensor 220 may detect air quality including moisture and hydrogen content in the air, and temperature of the air. In other words, the air quality sensor 220 may include a combination of sensors sensing various parameters of the ambient air.

In an aspect, the air quality sensor 220 may include other sensors, such as sensors for sensing the air content of the environment, e.g., the nitrogen or oxygen levels of the ambient air. Vaping may be detected by detection sensors 110 by a specific range combination of humidity, hydrogen, temperature, total volatile organic compound, particulate concentration, and particulate mass, which is defined as a signature in this disclosure. Since the signature does not depend on installation locations and times, internal parameters for identifying vaping may be predetermined. In other words, the air quality sensor 220 may not need training, while the sound sensor 210 needs training. In various embodiments, the air quality sensor 220 may need to be trained to detect vaping since the humidity, temperature, hydrogen, total volatile organic compound, particulate concentration, and particulate mass ranges may differ from location to location, or even within the same general location (e.g., a locker room).

The motion sensor 222 is configured to detect moving objects, in particular people, in the vicinity of the detection sensor 110. In various embodiments, the motion sensor 222 may be remote from the detection sensor 110. The motion detector may include an optical, microwave, passive infrared, ultrasonic, and/or acoustic sensor, and in many cases a transmitter for illumination.

The network interface 230 may be configured to transmit sensed results to the control server 120. In an aspect, the network interface 230 may transmit a request to send an alert, when potential bullying or vaping is identified, to the message server 140 and the client-server 160. Further, the network interface 230 may receive a command to update internal settings or parameters from the control server 120.

In an aspect, the network interface 230 may communicate with the control server 102 wirelessly or via a wired connection. Wireless connections may be a wide area network (WAN), local area network (LAN), personal area network (PAN), ad hoc network, cellular network, etc. The wired network may utilize category 5 cable (CAT5), CAT5E, category 6 cable (CAT6), or similar cables. Updates for the detection sensor 110 may be wirelessly transmitted through the network interface 230 over the air. Further, through the network interface 230, the client 170 or an operator/manager/technician may be able to turn on and off the detection sensors 110 individually.

The network interface 230 may include a Wi-Fi® transceiver 235 configured to communicate with devices over a Wi-Fi® standard such as IEEE® 802 and variations thereof. The Wi-Fi® transceiver 235 may be configured to communicate with mobile devices and/or other Internet of Things (IoT) wireless devices. A mobile device (or handheld computer) is a computer small enough to hold and operate in the hand (e.g., a mobile phone and/or a tablet). Typically, any handheld computer device will have an LCD or OLED flat screen interface, providing a touchscreen interface with digital buttons and keyboard or physical buttons along with a physical keyboard. Many such devices can connect to the Internet and interconnect with other devices such as car entertainment systems or headsets via Wi-Fi®, Bluetooth®, cellular networks or near field communication. The Internet of Things is a system of interrelated computing devices, mechanical and digital machines, objects, or people that are provided with unique identifiers (e.g., a media access control address (MAC)) and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction.

The Wi-Fi® transceiver 235 may passively monitor Wi-Fi® channels for a unique identifier (e.g., MAC addresses) of devices within range of the Wi-Fi® transceiver 235. For example, the Wi-Fi® transceiver 235 may find a device on Wi-Fi® channel 11. The Wi-Fi® transceiver 235 may detect the MAC address of a nearby device that is within the Wi-Fi® range of the detection sensor 110. In various embodiments, the wireless transceiver may detect a device identifier (for example, a device name) of the nearby device that is within the wireless range of the detection sensor 110. In various embodiments, it is contemplated that the detection sensor 110 may include a Bluetooth® transceiver configured to passively monitor for Bluetooth® devices within range of the Bluetooth® transceiver. The Bluetooth® transceiver may then detect the MAC address of any nearby device that is within the Bluetooth® range of the detection sensor 110. Bluetooth® is a wireless technology standard used for exchanging data between fixed and mobile devices over short distances using short-wavelength UHF radio waves in the industrial, scientific and medical radio bands, from about 2.400 GHz to about 2.485 GHz, 5 GHz (e.g., 802.11ac/ax/n) and building personal area networks. It is contemplated that for determining the nearest mobile device, Bluetooth® may be used.

It is contemplated that the systems and methods of the present disclosure may be applied to any wireless communication protocol and unique device identifier and are not limited to Wi-Fi® or Bluetooth®.

The sound sensor 210, the air quality sensor 220, and the network interface 230 may be powered by the power unit 240. Regular batteries may be installed to supply power to the detection sensor 110. For example, AA, AAA, or other suitable batteries may be used. The power unit 240 may utilize batteries and a connection to a power outlet, in order that the power unit 240 may supply power by using the batteries when the electrical grid or microgrid is down.

In an aspect, the power unit 240 may receive power supplied from a network cable, such as CAT5 or CAT6, which is called Power-over-Ethernet (PoE) or active Ethernet. PoE+ and 4PPoE may be also used to supply power. The PoE and PoE+ follow standards (e.g., 802.3at and 802.3bt) set by Institute of Electrical and Electronics Engineers (IEEE®) providing about 30 watts. As next-generation standards for the PoE can provide more power, for example 60 watts, the ethernet cable can provide sufficient power for the power unit 240. Since the network cable supplies power, the detection sensor 110 may be installed everywhere the network cable can be installed without worrying about a distance to a power outlet. Also, since the power unit 240 does not need electric components necessary for connections to a power outlet, manufacturing cost can be lowered and the size of the detection sensor 110 can be reduced.

The detection sensor 110 further includes the controller 250, which controls functions and settings of the detection sensor 110. When the detection sensor 110 is powered, the controller 250 sets settings of the detection sensor 110 and internal parameters of the sound sensor 210 and the air quality sensor 220. The controller 250 further controls the network interface 230 to transmit detected results or requests for sending alerts when potential bullying, smoking, or vaping is detected, and reset or update settings and internal parameters upon reception of an update command from the control server 120.

The controller 250 may be implemented on Linux, Windows, Android, IOS, or similar software operating system. In an aspect, the controller 250 may be implemented on a hardware system, such as a digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), different types of programmable read-only memory (e.g., PROM, EPROM, EEPROM, etc.), or microprocessor such as Raspberry Pi.

In an aspect, the controller 250 may be implemented on a hardware system by removing unnecessary features from the hardware system to reduce power consumption and integrating necessary features for identification into the hardware system. For example, the controller 250 may be implemented on a Raspberry Pi in a low power mode by removing unnecessary features, which were already equipped in the Raspberry Pi, and by integrating features for identifying vaping, smoking, and potential bullying. In this way, the power required for running the sound sensor 210, the air quality sensor 220, the network interface 230, and the controller 250 can be sufficiently supplied via a network cable (e.g., PoE, PoE+ and 4PPoE). This approach for reducing power consumption may be applied to other hardware systems or software operating systems.

For example, a standard processor of Raspberry Pi (e.g., Model 3, 3B, 3B+, etc.) runs at 1.4 GHz. By editing operating system configuration files, the Raspberry Pi processor can run at less than 1.4 GHz, thus the consumption of power being lowered, meaning that the Raspberry Pi processor runs in the low power mode. Further, the Raspberry Pi includes an HDMI port for debugging and diagnostic purposes. When plugging into the HDMI port, a user can change and debug the operating system configuration files. The disclosed embodiments are exemplary, and other implementations are contemplated. For example, the hardware system need not be a Raspberry Pi and can be another hardware/software system that includes a processor, memory, communication interfaces, an operating system, power management, and one or more software applications. The communication interfaces can include, for example, Ethernet, Wi-Fi®, USB, and/or HDMI, among others. In various embodiments, the hardware/software system can include a low power mode which permits the system to be powered by Power over Ethernet (PoE). The low power mode can include, for example, setting the processor to decreased processing capability. Other variations are contemplated.

In an aspect, the detection sensor 110 may not be equipped with a warning system. Thus, when potential bullying or vaping is detected at the installation site, any person who bullies or vapes cannot recognize that the identification of such is reported to the client 170 and the notification subscribers 150 because the identification is reported discreetly or silently to the person.

In another aspect, the detection sensor 110 may save the base data in a memory 111 of the detection sensor 110. In other words, the detection sensor 110 may determine vaping, potential bullying, or smoking by itself at the site where the detection sensor 110 is installed. In this case, the detection sensor 110 transmits signals indicating abnormality matching the signature of vaping, bully, or smoking. This ensures data privacy, meaning that the data stay within the detection sensor 110, and further ensures the privacy of people at the site.

In an aspect, the base data may be location-independent, meaning that the base data is the same for every location at every time. The location-independent base data may be air quality data related to identifying vaping. Since vaping has a signature in temperature, humidity, and hydrogen ranges, vaping may be identified based on the signature. In an aspect, features for identifying vaping may be integrated into the detection sensor 110 in order that the detection sensor 110 may request an alert or warning message to be sent to the client 170, when the signature is identified in the detected air quality. The signature may include a combination of predetermined ranges of temperature, humidity, and hydrogen.

Generally, hydrogen sensors require at least 7 volts and about 1,000-ohm resistance. The detection sensor 110, however, may have a modified hydrogen sensor, which requires much lower voltage and a much higher resistance. The voltage and resistance may vary based on the temperature of the environment.

The database 130 may further include historical data which is time-series and location-specific data for identifying potential bullying for each location where the detection sensor 110 has been installed. In an aspect, the control server 120 may analyze the historical data to predict occurrences of vaping and potential bullying at the location so that appropriate actions may be proactively and expeditiously be taken at the location.

In an aspect, the control server 120 may analyze the historical data stored at the database 130 to identify the trend of the history data. The trend may be a decrease or increase pattern of occurrences of vaping or potential bullying. In case a decrease or increase pattern is identified, the control server 120 may adjust the base data for identifying potential bullying to make the detection sensor 110 more or less sensitive to the identification. In this way, the base data may be adjusted based on the trend of the historical data.

For these reasons, the location-dependent base data is to be obtained at the site for a period in a learning mode. The period may vary depending on the installation location, the time, the day of the week, and the date. The location-dependent base data may be obtained for a period, which is determined based on the environment of the site and the installation location of the detection sensor 110.

After obtaining location-dependent base data for a period sufficiently long enough to form a profile for the location, the detection sensor 110 may be turned into an active mode to identify noise disturbance.

In an aspect, when the detection sensor 110 transmits detected results to the control server 120, the control server 120 may acquire from the database 130 the profile for the location where the detection sensor 110 is installed and the time when the detected results are obtained, and analyzes the detected results to identify occurrence of potential bullying based on the base data.

With reference to FIG. 3, a conceptual diagram is shown of the system of FIG. 1 in use. For example, a student 196 may enter an site 190 such as a bathroom, where the detection sensor 110 is located. During active mode, the detection sensor 110 may detect air quality related to vaping, detect sound, and/or detect motion related to a noise disturbance at the site 190. The detection sensor 110 (FIG. 2) then transmits the detected results to the control server 120 (FIG. 1). The control server 120 may acquire from the database 130 the profile for the location where the detection sensor 110 is installed and the time when the detected results are obtained, and analyzes the detected results, for example, to identify the occurrence of potential bullying or vaping based on the base data.

Next, the detection sensor 110 estimates the nearest user device to it from among a predetermined list of user devices, which can be stored at the control server 120 and/or in the database 130. For example, if there are two user devices (e.g., a first user device 192 and a second user device 194), the notification system 100 estimates which of the two user's devices 192, 194 is closer to the detection sensor 110 based on a wireless signal characteristic (e.g., signal strength, and/or signal noise) of the user devices 192, 194. Then, the notification system 100 alerts the user device (192 or 194) that is estimated to be closer to the detection sensor 110. This feature eliminates notifications to unsuitable users, such as tens of mobile devices in an organization that may be too far to respond to the alert. Thus, if the first user device 192 is estimated to be closer than the second user device 194 to the detection sensor 110, the detection sensor 110 may request an alert or warning message to be sent to the first user device 192. An exemplary estimation technique will be described later herein. For now, it is sufficient to note that there is no guarantee that the estimation actually identifies the user device that is physically closest to the detection sensor 110, and it is possible that the estimation may identify a user device that is farther away than a closer user device.

Turning now to FIG. 4, a simplified block diagram is provided for a computing device 400, which can be implemented as the control server 120, the database 130, the message server 140, and/or the client-server 160 of FIG. 1. The computing device 400 may include a memory 410, a processor 420, a display 430, a network interface 440, an input device 450, and/or an output module 460. The memory 410 includes any non-transitory computer-readable storage media for storing data and/or software that is executable by the processor 420 and which controls the operation of the computing device 400.

In an aspect, the memory 410 may include one or more solid-state storage devices such as flash memory chips. Alternatively, or in addition to the one or more solid-state storage devices, the memory 410 may include one or more computer-readable storage media/devices connected to the processor 420 through a mass storage controller (not shown) and a communications bus (not shown). Although the description of computer-readable media contained herein refers to a solid-state storage, it should be appreciated by those skilled in the art that computer-readable storage media can be any media that can be accessed by the processor 420. That is, computer-readable storage media may include non-transitory, volatile and/or non-volatile, removable and/or non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules, and/or other data. For example, computer-readable storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid-state memory technology, CD-ROM, DVD, Blu-Ray or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the computing device 400.

The memory 410 may store application 414 and/or data 412 (e.g., base data and historical data from the motion sensor 222, the sound sensor 210, and/or the air quality sensor 220 of FIG. 2). The application 414 may, when executed by processor 420, cause the display 430 to present the user interface 416. The processor 420 may be a general-purpose processor, a specialized graphics processing unit (GPU) configured to perform specific graphics processing tasks while freeing up the general-purpose processor to perform other tasks, and/or any number or combination of such processors. The display 430 may be touch-sensitive and/or voice-activated, enabling the display 430 to serve as both an input and output device. Alternatively, a keyboard (not shown), mouse (not shown), or other data input devices may be employed. The network interface 440 may be configured to connect to a network such as a local area network (LAN) consisting of a wired network and/or a wireless network, a wide area network (WAN), a wireless mobile network, a Bluetooth® network, and/or the internet.

For example, the computing device 400 may receive, through the network interface 440, detection results for the detection sensor 110 of FIG. 1, for example, detected sound in the learning mode and the active mode, and historical data, which is time-series data including detected sounds and detected air quality from the detection sensor 110 for the whole running times or a predetermined period. The computing device 400 may receive updates to its software, for example, the application 414, via the network interface 440. It is contemplated that updates may include “over-the-air” updates. The computing device 400 may also display notifications on the display 430 that a software update is available.

The input device 450 may be any device by which a user may interact with the computing device 400, such as, for example, a mouse, keyboard, foot pedal, touch screen, and/or voice interface. The output module 460 may include any connectivity port or bus, such as, for example, parallel ports, serial ports, universal serial buses (USB), or any other similar connectivity port known to those skilled in the art. The application 414 may be one or more software programs stored in the memory 410 and executed by the processor 420 of the computing device 400. The application 414 may be installed directly on the computing device 400 or via the network interface 440. The application 414 may run natively on the computing device 400, as a web-based application, or any other format known to those skilled in the art.

In an aspect, the application 414 will be a single software program having all of the features and functionality described in the present disclosure. In other aspects, the application 414 may be two or more distinct software programs providing various parts of these features and functionality. Various software programs forming part of the application 414 may be enabled to communicate with each other and/or import and export various settings and parameters relating to the identification of potential bullying, smoking, and vaping.

The application 414 communicates with a user interface 416 which generates a user interface for presenting visual interactive features to the notification subscribers 150 or the client 170 of FIG. 1 on the display 430. For example, the user interface 416 may generate a graphical user interface (GUI) and output the GUI to the display 430 to present graphical illustrations.

Now turning to FIG. 5, a method 500 is provided for alert notification in accordance with embodiments of the present disclosure. Initially, at step 502, the method detects, by a detection sensor 110 an occurrence of vaping, potential bullying, and/or smoking (e.g., by sensing motion, sound, air quality, and/or temperature). For example, there may be vaping, smoking, or potential bullying in a site.

When an occurrence of vaping, smoking, and/or potential bullying is detected/sensed in step 502, the detection sensor 110 estimates the nearest user device from among a predetermined list of user devices. For example, a teacher device might be in an adjoining classroom which is closer to the site than an administrator device which may be several classrooms down a hall, such that it would be more beneficial to notify the teacher device of the occurrence of vaping, smoking, and/or potential bullying. It is contemplated that the predetermined list of user devices may be stored in the memory 111 of the detection sensor 110 or remotely in the database 130 or in one or more of the servers of FIG. 1, and accessed via the network for the determination. An example of the estimation technique will be described below in connection with FIG. 6. An example of a predetermined list of user devices is described below in connection with FIG. 7.

At step 506, the method sends an alert notification to at least the user device estimated to be nearest to the detection sensor. The alert may be, for example, an email, a text message, or a multimedia message, among other things. The contact information for such device may be stored in the memory 111 of the detection sensor and/or can be stored in the database 130 or in one or more servers shown in FIG. 1. The message may be sent by the detection sensor 110 or sent by one or more servers shown in FIG. 1, such as the client server 160 or the message server 140. In various embodiments, the alert notification includes at least one of a location of the detection sensor 110, or a time of the detection of the sensed occurrence.

The method of FIG. 5 is exemplary, and variations are contemplated to be within the scope of the present disclosure. For example, in various embodiments, step 504 may not estimate a nearest user device based on a specific location of the detection sensor 110 which detects vaping, smoking, or potential bullying. Rather, step 504 may estimate a nearest user device based on an area in which the detection sensor is located. For example, step 504 may estimate a nearest user device to the first-floor men's restroom, rather than a nearest user device to a particular detection sensor in such bathroom.

With reference to FIG. 6, a method is shown for estimating which user device is nearest. At step 602, the method estimates a “free space distance” or proximity of user devices, based on a wireless signal characteristic such as signal strength and/or signal noise. For example, a user mobile computing device such as a phone or a tablet has a Wi-Fi® transceiver, which uses the 802.11 standard and variations thereof. The 802.11 standard provides several distinct radio frequency ranges for use in Wi-Fi® communications, such as: 900 MHz, 2.4 GHz, 5 GHz, 5.9 GHz, and 60 GHz bands. Each range is divided into a multitude of channels. Channels can be listened to by a Wi-Fi® passive monitor for devices using such channels. In various embodiments, the distance from the system may be determined based on the frequency of the wireless signal and the signal level. In various embodiments, the “free space distance” to Wi-Fi® transceiver may be estimated based on free space path loss: distance=10{circumflex over ( )}((27.55−(20*log₁₀(frequency))+signal level)/20). For example: a Wi-Fi® frequency of 2412 MHz and a signal level of −57 dbm, results in a free space distance of approximately 7 meters. A free space distance can be estimated for each Wi-Fi® device that appears to a Wi-Fi® passive monitor. In various embodiments, the Wi-Fi® passive monitor can be located in a detection sensor 110. In various embodiments, the Wi-Fi® passive monitor can be separate from a detection sensor and can be located in an area containing the detection sensor 110, such as in a men's bathroom of a school. In such case, the Wi-Fi® passive monitor can be in communication with the detection sensor 110 or in communication with one or more servers shown in FIG. 1. It is contemplated that the passive monitor may passively listen to any wireless signal for unique identifiers of wireless devices and is not limited to Wi-Fi® and/or Bluetooth®. The method may further estimate “free space distance” or proximity of user devices, based on the source address, the destination address, and/or upper layer information of the user device.

At step 604, the method estimates which user device from the predetermined list of user devices is closest by determining which user device has the smallest estimated distance.

The method of FIG. 6 is exemplary and variations are contemplated to be within the scope of the present disclosure. Other ways different from free space distance are contemplated for estimating distance to user devices. For example, in various embodiments, networking metrics may be used as a surrogate for signal strength, such as packet loss ratio. Such networking metrics and other variations are contemplated to be within the scope of the present disclosure.

With reference to FIG. 7, there is shown a method for listening to Wi-Fi® channels, by passive monitoring, to detect Wi-Fi® transceivers in user devices. At step 702, the method listens to the Wi-Fi® channels of a wireless network for a unique identifier (e.g., a media access control addresses (“MAC” address) of devices that are within a wireless range of a Wi-Fi® passive monitor. As mentioned above, the Wi-Fi® passive monitor may be part of a detection sensor or may be a separate device that is within an area containing detection sensors. The unique identifier may include a. MAC address. It is contemplated that other unique identifiers may be used, and may vary based on the wireless system architecture.

As persons skilled in the art will understand, a MAC address is a unique identifier assigned to wireless and wireline communication devices. MAC addresses are commonly used in IEEE® 802 networking technologies, including Ethernet, Wi-Fi®, and Bluetooth®. MAC addresses are primarily assigned by device manufacturers, and are often referred to as the burned-in address, or as an Ethernet hardware address, hardware address, and/or physical address. Each address can be stored in hardware, such as the network transceiver's read-only memory, or by a firmware mechanism.

At step 704, the method compares the MAC address detected by the Wi-Fi® passive monitor against a predetermined list of MAC addresses corresponding to a predetermined list of user devices. For example, a MAC address “12-34-56-78-9A-BC” may correspond to a Wi-Fi® transceiver in the cell phone of a particular teacher (e.g., Mr. Smith.), and this MAC address may be stored in the predetermined list of user devices. Additionally, the MAC address “12-33-56-78-9A-BD” may correspond to a Wi-Fi® transceiver in the cell phone of another teacher (e.g., Mr. Jones), and this MAC address may be stored in the predetermined list of user devices. Thus, the Wi-Fi® MAC addresses of both Mr. Smith's cell phone and Mr. Jones' cell phone may be in the predetermined list of user devices. As mentioned above, the predetermined list of user devices may be stored in a detection sensor or in one or more servers of FIG. 1.

At step 706, if a MAC address is within the predetermined list of user devices, the method may determine the wireless signal characteristic for the user device. As mentioned above, in various embodiments the wireless signal characteristic includes at least one of a wireless signal strength and/or a wireless signal noise level for the device within a wireless range of the Wi-Fi® passive monitor. For example, the Wi-Fi® passive monitor may determine that Mr. Smith's device has a Tx power of 20 dBm, a signal level of −39 dBm, and a noise level of −87 dBm. Uses of wireless signal characteristics for estimating distance or proximity of user devices were discussed above in connection with FIG. 6.

The method of FIG. 7 is exemplary, and variations are contemplated to be within the scope of the present disclosure. For example, the Wi-Fi® passive monitor may be a passive monitor for another wireless standard/protocol, such as Bluetooth® or ZigBee, among other things, and may generally be a wireless device passive monitor. Additionally, addresses other than MAC addresses are contemplated to be within the scope of the present disclosure. For example, in various embodiments, a user device may be identified by user designated identifier, such as “My Smartphone” or other user designated identifier.

Accordingly, any of the embodiments and aspects described herein with regard to Wi-Fi® are also applicable to other wireless standards and protocols, and any of the embodiments and aspects described herein with respect to MAC address are also applicable to other types of device identifiers, wireless identifiers, or networking identifiers. Such applications are contemplated to be within the scope of the present disclosure.

The embodiments disclosed herein are examples of the disclosure and may be embodied in various forms. For instance, although certain embodiments herein are described as separate embodiments, each of the embodiments herein may be combined with one or more of the other embodiments herein. Specific structural and functional details disclosed herein are not to be interpreted as limiting, but as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present disclosure in virtually any appropriately detailed structure. Like reference numerals may refer to similar or identical elements throughout the description of the figures.

The phrases “in an embodiment,” “in embodiments,” “in various embodiments,” “in some embodiments,” or “in other embodiments” may each refer to one or more of the same or different embodiments in accordance with the present disclosure. A phrase in the form “A or B” means “(A), (B), or (A and B).” A phrase in the form “at least one of A, B, or C” means “(A); (B); (C); (A and B); (A and C); (B and C); or (A, B, and C).”

Any of the herein described methods, programs, algorithms or codes may be converted to, or expressed in, a programming language or computer program. The terms “programming language” and “computer program,” as used herein, each include any language used to specify instructions to a computer, and include (but is not limited to) the following languages and their derivatives: Assembler, Basic, Batch files, BCPL, C, C+, C++, Delphi, Fortran, Java, JavaScript, machine code, operating system command languages, Pascal, Perl, PL1, scripting languages, Visual Basic, metalanguages which themselves specify programs, and all first, second, third, fourth, fifth, or further generation computer languages. Also included are database and other data schemas, and any other meta-languages. No distinction is made between languages that are interpreted, compiled, or use both compiled and interpreted approaches. No distinction is made between compiled and source versions of a program. Thus, reference to a program, where the programming language could exist in more than one state (such as source, compiled, object, or linked) is a reference to any and all such states. Reference to a program may encompass the actual instructions and/or the intent of those instructions.

It should be understood that the foregoing description is only illustrative of the present disclosure. Various alternatives and modifications can be devised by those skilled in the art without departing from the disclosure. Accordingly, the present disclosure is intended to embrace all such alternatives, modifications and variances. The embodiments described with reference to the attached drawing figures are presented only to demonstrate certain examples of the disclosure. Other elements, steps, methods, and techniques that are insubstantially different from those described above and/or in the appended claims are also intended to be within the scope of the disclosure. 

What is claimed is:
 1. A notification system comprising: at least one sensor configured to sense measurements indicative of at least one of vaping, potential bullying, or smoking, wherein the at least one sensor is configured to sense at least one of: air quality, sound, motion, or temperature; a wireless device passive monitor; a processor; and a memory having stored thereon instructions which, when executed by the processor, cause the notification system to: detect an occurrence of vaping, potential bullying, or smoking based on the sensed measurements; estimate which user device from a predetermined list of user devices is a nearest user device to the wireless device passive monitor by causing the notification system to: for each user device that is within a wireless range of the wireless device passive monitor and which is in the predetermined list of user devices, estimate a distance to the wireless device passive monitor based on a wireless signal characteristic of the user device; select a user device corresponding to a smallest distance among the distances as the nearest user device; listen to, by the wireless device passive monitor, channels of a wireless network to detect a unique identifier of user devices within a wireless range of the wireless device passive monitor; and identify the detected unique identifier which is in the predetermined list of user devices, wherein the unique identifier includes a media access control (MAC) address; and provide a notification to the estimated nearest user device regarding the detected occurrence of vaping, potential bullying, or smoking.
 2. The notification system of claim 1 wherein the wireless signal characteristic includes at least one of a source address, a destination address, upper layer information, or a signal noise level for the user device.
 3. The notification system of claim 1, wherein the wireless device passive monitor includes at least one of a Wi-Fi® passive monitor or a Bluetooth® passive monitor.
 4. The notification system of claim 1, wherein the wireless device passive monitor is configured to listen to at least one of a Wi-Fi® network or a Bluetooth® network.
 5. The notification system of claim 1, wherein the notification includes at least one of: a location of the at least one sensor or a time of the detection of the detected occurrence.
 6. The notification system of claim 1, further comprising a remote server separate from the at least one sensor, wherein the remote server includes the processor and the memory.
 7. The notification system of claim 6, wherein the at least one sensor is configured to communicate the sensed measurements to the remote server.
 8. A computer-implemented method comprising: sensing, by at least one sensor, measurements indicative of at least one of vaping, potential bullying, or smoking, wherein the at least one sensor is configured to sense at least one of: air quality, sound, motion, or temperature; detecting an occurrence of at least one of vaping, potential bullying, or smoking based on the sensed measurements; estimating which user device from a predetermined list of user devices is a nearest user device to a wireless device passive monitor by: for each user device that is within a wireless range of the wireless device passive monitor and which is in the predetermined list of user devices, estimating a distance to the wireless device passive monitor based on a wireless signal characteristic of the user device; selecting a user device corresponding to a smallest distance among the distances as the nearest user device; listening to, by the wireless device passive monitor, channels of a wireless network to detect a unique identifier of user devices within the wireless range of the wireless device passive monitor; and identifying the detected unique identifier which is in the predetermined list of user devices, wherein the unique identifier includes a media access control (MAC) address; and providing a notification to the estimated nearest user device regarding the detected occurrence of vaping, potential bullying, or smoking.
 9. The computer-implemented method of claim 8, wherein the wireless signal characteristic includes at least one of a source address, a destination address, upper layer information, a signal strength, or a signal noise level for the user device.
 10. The computer-implemented method of claim 8, wherein the wireless device passive monitor includes at least one of a Wi-Fi® passive monitor or a Bluetooth® passive monitor.
 11. The computer-implemented method of claim 8, wherein the wireless device passive monitor is configured to listen to at least one of a Wi-Fi® network or a Bluetooth® network.
 12. The computer-implemented method of claim 8, wherein the notification includes at least one of: a location of the at least one sensor or a time of the detection of the detected occurrence.
 13. The computer-implemented method of claim 8, further comprising communicating, by the at least one sensor, the sensed measurements to a remote server separate from the at least one sensor, wherein the remote server performs the detecting, the estimating, and the providing.
 14. A non-transitory computer-readable medium storing instructions which, when executed by a processor, cause the processor to perform a method comprising: sensing, by at least one sensor, measurements indicative of at least one of vaping, potential bullying, or smoking, wherein the at least one sensor is configured to sense at least one of: air quality, sound, motion, or temperature, wherein the at least one sensor is configured to sense at least one of: air quality, sound, motion, or temperature; detecting an occurrence of at least one of vaping, potential bullying, or smoking based on the sensed measurements; estimating which user device from a predetermined list of user devices is a nearest user device to a wireless device passive monitor by: for each user device that is within a wireless range of the wireless device passive monitor and which is in the predetermined list of user devices, estimating a distance to the wireless device passive monitor based on a wireless signal characteristic of the user device; selecting a user device corresponding to a smallest distance among the distances as the nearest user device; listening to, by the wireless device passive monitor, channels of a wireless network to detect a unique identifier of user devices within the wireless range of the wireless device passive monitor; and identifying the detected unique identifier which is in the predetermined list of user devices, wherein the unique identifier includes a media access control (MAC) address; and providing a notification to the estimated nearest user device regarding the detected occurrence of vaping, potential bullying, or smoking. 